package com.ruoyi.sys.safetytraining.service;

import java.util.List;
import com.ruoyi.sys.safetytraining.domain.TbSafetyTraining;

/**
 * 培训学习Service接口
 * 
 * @author iuxin
 * @date 2022-05-25
 */
public interface ITbSafetyTrainingService 
{
    /**
     * 查询培训学习
     * 
     * @param stId 培训学习主键
     * @return 培训学习
     */
    public TbSafetyTraining selectTbSafetyTrainingByStId(Long stId);

    /**
     * 查询培训学习列表
     * 
     * @param tbSafetyTraining 培训学习
     * @return 培训学习集合
     */
    public List<TbSafetyTraining> selectTbSafetyTrainingList(TbSafetyTraining tbSafetyTraining);

    /**
     * 新增培训学习
     * 
     * @param tbSafetyTraining 培训学习
     * @return 结果
     */
    public int insertTbSafetyTraining(TbSafetyTraining tbSafetyTraining);

    /**
     * 修改培训学习
     * 
     * @param tbSafetyTraining 培训学习
     * @return 结果
     */
    public int updateTbSafetyTraining(TbSafetyTraining tbSafetyTraining);

    /**
     * 批量删除培训学习
     * 
     * @param stIds 需要删除的培训学习主键集合
     * @return 结果
     */
    public int deleteTbSafetyTrainingByStIds(Long[] stIds);

    /**
     * 删除培训学习信息
     * 
     * @param stId 培训学习主键
     * @return 结果
     */
    public int deleteTbSafetyTrainingByStId(Long stId);
}
